package com.wxm.common.file.core.property;

import com.wxm.common.file.core.enm.FileSupplierEnum;
import com.wxm.common.file.core.service.supplier.LocalOssService;
import com.wxm.common.file.core.service.supplier.SupplierBaseService;
import lombok.Data;

/**
 * <p>
 *      本地对象存储配置
 * </p>
 *
 * @author: wxm
 * @Date: 2022/1/20
 */
@Data
public class LocalOssProperty extends UploadBaseProperty{
    /**
     * 存储地址
     */
    private String storeAddress;

    @Override
    public FileSupplierEnum fileSupplierEnum() {
        return FileSupplierEnum.LOCAL;
    }

    @Override
    public Class<? extends SupplierBaseService> supplierService() {
        return LocalOssService.class;
    }
}
